{$formStart}
<input type="hidden" name="id" value="{$id}" />
<table>
    <tr>
        <th colspan="2">{$editFile}</th>
    </tr>
    <tr>
        <td>{$fileName}</td>
        <td><input type="text" name="name" value="{$name}" /></td>
    </tr>
    <tr>
        <td>{$categoryName}</td>
        <td>
            <select name="category">
            {section name=category loop=$categories}
            <option value="{$categories[category].id}"{if $categories[category].id == $category }
            selected="selected"
            {/if}>{$categories[category].name}</option>
            {/section}
            </select>
        </td>
    </tr>
    <tr>
        <td>{$mimeType}</td>
        <td><input type="text" name="mime" value="{$mime}" /></td>
    </tr>
    <tr>
        <td colspan="2"><input type="submit" value="{$save}" /></td>
    </tr>
</table>
</form>